//
//  AddressAnnotation.m
//  FireBurn
//
//  Created by My Macbook on 07/03/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "AddressAnnotation.h"


@implementation AddressAnnotation
@synthesize coordinate;
@synthesize tag;

- (NSString *)subtitle{
	return mSubTitle;
}

- (NSString *)title{
	return mTitle;
}

-(void)setTitle :(NSString*)aTitle
{
	mTitle = aTitle;
	[mTitle retain];
}

-(void)setSubTitle:(NSString*)aSubTitle
{
	mSubTitle = aSubTitle;
	[mSubTitle retain];
}
-(id)initWithCoordinate:(CLLocationCoordinate2D) c{
	coordinate=c;
	NSLog(@"%f,%f",c.latitude,c.longitude);
	return self;
}
-(void)dealloc
{
	[mTitle release];
	[mSubTitle release];
	[super dealloc];
}
@end
